import {
    request
} from "./index";

const apiModule = 'refundsInfoApp/';


// 查询售后列表
export const qeuryRefundsList = (data) => {
    return request(apiModule + 'getRefundsInfoToCus', data);
}

// 查询退款详情
export const qeuryRefundsDetail = (data) => {
    return request(apiModule + 'getDetailsResToCus', data);
}

// 撤销退款
export const cancelRefunds = (data) => {
    return request(apiModule + 'cancelRefundsById', data);
}

// 填写物流单号
export const fillLogisticsNum = (data) => {
    return request(apiModule + 'refundsGoods', data);
}

// 获取退款原因列表
export const queryRefundsReasonList = (data) => {
    return request(apiModule + 'refundsReasonList', data);
}